package org.openlvb.openlvp.mail;

import org.openlvb.openlvp.OpenlvpApplication;

import com.vaadin.ui.SplitPanel;

public class MailPanel extends SplitPanel{
	
	private MailMenuPanel mailMenuPanel;
	private MailMainPanel mailMainPanel;
	
	public MailPanel(OpenlvpApplication openlvpApplication){
        setOrientation(SplitPanel.ORIENTATION_HORIZONTAL);
        setSplitPosition(20);
        mailMainPanel = new MailMainPanel(this);
        mailMenuPanel = new MailMenuPanel(this, openlvpApplication);
        addComponent(mailMenuPanel);
        addComponent(mailMainPanel);
        setHeight("100%");
	}

}
